.medical-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f5f7fa;
  min-height: 100vh;
}

.medical-divider {
  height: 1px;
  background-color: #e4e9f2;
  margin: 15px 0;
}

.medical-search {
  width: 100%;
  margin: 10px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.medical-search :global(.nut-searchbar) {
  background-color: white;
  border-radius: 25px;
  padding: 8px 15px;
}

.medical-space {
 
  margin-left: 20px;
}

.medical-button {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
  transition: all 0.3s ease;
  margin: 5px;
  min-width: 120px;
}

.medical-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
  background: linear-gradient(135deg, #357abd, #2868a9);
}

.medical-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.2);
}

.medical-message-section {
  background-color: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.medical-message-section p {
  padding: 15px;
  margin: 8px 0;
  border-radius: 8px;
  background-color: #f8fafd;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.medical-message-section p:hover {
  background-color: #edf2f7;
  transform: translateX(5px);
}

.medical-message-section-clicked {
  background-color: #e3eeff !important;
  border-left: 4px solid #4a90e2 !important;
  color: #2868a9;
}

/* Responsive Design */
@media (max-width: 600px) {
  .medical-container {
    padding: 10px;
  }

  .medical-button {
    min-width: calc(50% - 20px);
    font-size: 13px;
    padding: 10px 15px;
  }

  .medical-message-section {
    padding: 10px;
  }

  .medical-message-section p {
    padding: 12px;
    font-size: 14px;
  }
}

/* Animation for messages */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.medical-message-section p {
  animation: slideIn 0.3s ease-out forwards;
}